package com.spa.application.dto.admin;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Date;

@Data
@JsonInclude
public class TicketDTO {

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    private String name;

    private Integer type;

    private Integer threshold;

    private Integer discountType;

    private Integer comeIntoForceType;

    private Integer expirationDate;

    private Integer quantityLimit;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Integer isUsable;

    private Integer overflow;

    private Integer rmb;
}
